package bdz.projects.sc.core
{
	
	/**
	 * ...
	 * @author ...
	 */
	public dynamic class SCItemList extends Array
	{
		public function SCItemList(xm:XMLList):void {
			applyValues(xm);
		}
		protected function applyValues(xm:XMLList):void {
			clear();
			for each(var x:XML in xm) {
				push(new SCItemObject(x, this));
			}
		}
		public function clear():void {
			while (length) {
				splice(0, 1);
			}
		}
		
	}
	
}